package com.tools;

import java.sql.*;

public class Utils {
    private static Connection conn;

    static {
        try {
            Class.forName("com.mysql.jdbc.Driver");
            conn = DriverManager.getConnection(
                    "jdbc:mysql://192.168.56.99:3306/temp",
                    "root",
                    "root");
        } catch (ClassNotFoundException | SQLException e) {
            e.printStackTrace();
        }
    }


    public static Connection getConn() {
        return conn;
    }
}
